﻿<!doctype html>
<head>
   <meta charset="UTF-8">
   <title>让图片位于div的中央demo</title>
   <style type="text/css">
     div{
	    display:-moz-box;
		display:-webkit-box;
		-moz-box-align:center;
		-webkit-box-align:center;
		-moz-box-pack:center;
		-webkit-box-pack:center;
		width:300px;
		height:200px;
		background-color:pink;
		overflow:auto;
		resize:both;
	 }
	 
	 input#male{
	   outline:thin solid green;
	 }
   </style>
</head>
<body>
 <div>
    <img src="image/logo.gif">
 </div>
 	性别：<input type="radio" id="male" name="sexRadio">男
	<input type="radio" id="female" name="sexRadio">女
</body>
</html>